package com.stadium.service;

import java.util.List;
import java.util.Map;

import com.stadium.dto.GamePlayerDto;
import com.stadium.entity.SysUser;
import com.stadium.dto.SysUserDto;
import com.stadium.vo.RegisterVo;
import com.stadium.vo.SysUserVo;
import com.stadium.vo.searchVo.SysUserSearchVo;

/**
 * 用户表
 *
 * @author wsl
 * @email
 * @date 2021-05-11 14:58:57
 */
public interface SysUserSV{
	List<SysUser> queryBySQL(String sql, Map<String, Object> map);

    void save(SysUserVo sysUserVo);

    void saveBatch(List<SysUser> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(SysUserVo sysUserVo);

    List<SysUserDto> query(SysUserSearchVo searchVo);

    SysUserDto get(String id);

    int getCount(SysUserSearchVo sysUsersearchVo);

    SysUserDto getUserByLoginName(String loginName);

    String register(RegisterVo registerVo)throws Exception;

    List<GamePlayerDto> getUserByIdNo(String searchValue);

    SysUserDto getUserByIdNumber(String idNumber);

    void changePassword(String id, String newPassword);
}
